package cn.jetpiece.cloud.common.app.config.properties;

import lombok.Data;

/**
 * 通用服务配置
 * @author XuJZ
 */
@Data
public class JetpieceCommonProperties {

    /**
     * 配置前缀
     */
    public static final String PREFIX = "jetpiece.common";

    /**
     * 静态配置
     */
    private static JetpieceCommonProperties INSTANCE;

    /**
     * Jetpiece模块是否独立运行
     */
    private Boolean standAlone = false;

    public static JetpieceCommonProperties getInstance() {
        return INSTANCE;
    }

    public void setInstance(JetpieceCommonProperties instance) {
        JetpieceCommonProperties.INSTANCE = instance;
    }

}
